Skip to content

feat: generate linstor charm#761

Open
ahmad-can wants to merge 3 commits intocanonical:mainfrom
ahmad-can:feature/generate-linstor-charm
Open

feat: generate linstor charm#761
ahmad-can wants to merge 3 commits intocanonical:mainfrom
ahmad-can:feature/generate-linstor-charm

Conversation

@ahmad-can
Copy link
Copy Markdown

@ahmad-can ahmad-can commented Apr 9, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds initial LINSTOR storage backend support to Sunbeam’s storage backends, along with unit-test coverage and integration into the shared backend test matrix.

Changes:

  • Introduces LinstorBackend and LinstorConfig under sunbeam.storage.backends.linstor.
  • Adds new unit tests for the LINSTOR backend and config validation.
  • Expands shared backend fixtures/tests to include LINSTOR in uniqueness and expectation checks.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
sunbeam-python/sunbeam/storage/backends/linstor/backend.py New LINSTOR backend + Pydantic config model.
sunbeam-python/sunbeam/storage/backends/linstor/__init__.py Declares the new backend package.
sunbeam-python/tests/unit/sunbeam/storage/backends/conftest.py Adds linstor_backend fixture and includes it in any_backend.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_common.py Extends shared backend uniqueness/expectation tests to include LINSTOR.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_linstor.py New LINSTOR-specific backend/config validation tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sunbeam-python/tests/unit/sunbeam/storage/backends/test_linstor.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/linstor/backend.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/linstor/backend.py
Comment thread sunbeam-python/sunbeam/storage/backends/linstor/backend.py
@ahmad-can ahmad-can force-pushed the feature/generate-linstor-charm branch from 5ad2fc2 to 9adbd58 Compare April 21, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants